import request from "@/utils/request";



/**
 * 获取充值列表
 */
export function getRechargeList(params) {
  return request({
    url: "/member/recharge/page/list",
    method: "post",
    data: params
  });
}

/**
 * 充值审核通过
 */
export function passRechargeReview(params) {
  return request({
    url: `/member/recharge/review/pass`,
    method: "get",
    params
  });
}

/**
 * 充值审核驳回
 */
export function rejectRechargeReview(params) {
  return request({
    url: `/member/recharge/review/reject`,
    method: "get",
    params
  });
}

/**
 * 匹配会员接口
 */
export function getMemberLickList(params) {
  return request({
    url: `/member/info/lick/list`,
    method: "get",  
    params
  });
}

/**
 * 获取提现列表
 */
export function getWithdrawList(params) {
  return request({
    url: `/member/withdraw/page/list`,
    method: "post",
    data: params
  });
}


/**
 * 提现审核通过
 */
export function passWithdrawReview(params) {
  return request({
    url: `/member/withdraw/review/pass`,
    method: "get",
    params
  });
}

/**
 * 提现审核驳回
 */
export function rejectWithdrawReview(params) {
  return request({
    url: `/member/withdraw/review/reject`,
    method: "get",
    params
  });
}


/**
 * 获取订单列表
 */
export function getOrderList(params) {
  return request({
    url: `/order/info/page/list`,
    method: "post",
    data: params
  });
}

/**
 * 审核通过
 */
export function passOrderReview(params) {
  return request({
    url: `/order/info/review/pass`,
    method: "get",
    params
  });
}

/**
 * 提现审核驳回
 */
export function rejectOrderReview(params) {
  return request({
    url: `/order/info/review/reject`,
    method: "get",
    params
  });
}

/**
 * 系统配置查询
 */
export function systemConfigList() {
  return request({
    url: `/system/config/list`,
    method: "get",
  });
}


/**
 * 更新系统配置
 */
export function updateSystemConfig(params) {
  return request({
    url: `/system/config/update`,
    method: "post",
    data: params
  });
}

